WooCommerce\Square\Sync\Manual_Synchronization D

Total Complexity 197
Dependencies 18
Dependents 1
Total lines 1,555
Lines of code 882
Logical lines of code 551
Comment lines 229
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
square_sor_sync()
D
29
33 121
upsert_catalog_objects()
D
26
30 159
search_matched_products()
C
31 25 112
refresh_category_mappings()
B
37 16 76
pull_inventory()
A
38 12 71
push_inventory()
A
44 13 41
upsert_categories()
A
42 10 52
update_matched_products()
A
45 9 40
query_unmapped_categories()
A
46 8 38
assign_next_steps()
S
49 6 36
mark_failed_products()
S
54 6 21
push_product_image()
S
55 6 19
upsert_new_products()
S
50 5 28
update_limits()
S
60 4 13
get_shared_category_ids()
S
61 4 12
validate_products()
S
58 2 15
convert_to_catalog_object()
S
68 3 7
extract_category_ids()
S
72 1 5
get_max_objects_to_retrieve()
S
74 1 4
get_max_objects_per_batch()
S
74 1 4
get_max_objects_per_upsert()
S
74 1 4
get_max_objects_total()
S
74 1 4